﻿using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KeZhou.Models
{
    internal partial class POI: ObservableObject
    {
        [ObservableProperty]
        private string name;

        [ObservableProperty]
        private double rate;

        [ObservableProperty]
        private string description;

        [ObservableProperty]
        private string type;

        private double lng;

        private double lat;

        public POI() { }

        public POI(string name, double rate, string description, string type)
        {
            this.name = name;
            this.rate = rate;
            this.description = description;
            this.type = type;
        }

        public double Lng { get; set; }

        public double Lat { get; set; }
    }
}
